MASTER-K CNET communication driver

 

MASTER-K CNET communication driver is the driver to communicate(serial) with MASTER-K S PLC(K1000S, K500S, K300S, K200S, ... model) of LSIS Co., Ltd.  in Korea.

Available communication module : K7F-CUEA, K4F-CUEA, K3F-CU2A, K3F-CU4A, ...

 

1. Read Settings

 

<Figure 1> is read setting example of MASTER-K CNET communication driver.

<Figure 1>  Read setting example of MASTER-K CNET communication driver

Device part of  <Figure 1> input Com Port(COM1), Baud Rate(38400), Parity Bit(0), Data Bit(8), Stop Bit(1) respectively according to PLC.

Baud rate, parity bit, data bit, stop bit of MASTER-K S PLC can set by using 'Frame Editor' program of LSIS.

 

MASTER-K CNET communication driver read schedule

Read schedule setting parameters are as follows:

1) Station – 0 ~ 31 PLC station number. ( can set by using 'Frame Editor' )

2) Read memory type – memory type of PLC. ( refer to <Table 1> )

PW, MW, LW, KW, FW, TW, CW, DW, SW : WORD unit reading,

PD, MD, LD, KD, FD, TD, CD, DD, SD : DWORD unit reading,

3) Read start address – reading start address(word or double word unit) in PLC memory.  ( WORD unit reading = word unit address, DWORD = double word unit address )

4) Save start address for Communication Server – Saving start address of Communication Server.

5) Read Size – word, double unit read size. ( WORD unit reading = word unit size, DWORD = double word unit size )

 

Read schedule example)

READ,   0,   PW,   0,   0,   16,

READ,   0,   MW,   0,  16,   16,

READ,   0,   DW,   0,  32,   16,

DWORD, 0,   DD,   0,   0,   16,

<Table 1> is memory type and contents of MASTER-K CNET communication driver.

Memory type

Contents

Read/Write

PX

bit of P PLC memory for write

Write only

MX

bit of M PLC memory for write

LX

bit of L PLC memory for write

KX

bit of K PLC memory for write

FX

bit of F PLC memory for write

TX

bit of T PLC memory for write

CX

bit of C PLC memory for write

PW, PD

 word, double word unit of P PLC memory

Read/Write

MW, MD

 word, double word unit of M PLC memory

LW, LD

 word, double word unit of L PLC memory

KW, KD

 word, double word unit of S PLC memory

FW, FD

 word, double word unit of F PLC memory

TW, TD

 word, double word unit of T PLC memory

CW, CD

 word, double word unit of C PLC memory

DW, DD

 word, double word unit of D PLC memory

SW, SD

 word, double word unit of S PLC memory

<Table 1> Memory type and contents of MASTER-K CNET communication driver
2. Writing settings

You can set MASTER-K S Series PLC by using write settings.

 

Digital Write

Digital write setting parameters are as follows:

1)  PORT                   Port no. (0 ~ 255)

2)  STATION             0 ~ 31 PLC station number. ( can set by using 'Frame Editor' )

3)  ADDRESS          write address in memory.

4)  Extra1                   write memory type =PX, MX, ... ( refer to <Table 1> )

5)  Extra2                   don't care.

 

Write example 1) 

PORT : 0  Station : 0, ADDRESS : 0000, EXTRA1 : PX,  EXTRA2 : 0

The setting parameter shown above is a control(On/Off) example for PX0000 address.

 

Analog Write

Analog write setting parameters are as follows:

1)  PORT                   Port no. (0 ~ 255)

2)  STATION             0 ~ 31 PLC station number. ( can set by using 'Frame Editor' )

3)  ADDRESS          write address in memory.

4)  Extra1                   write memory type =  PW, MW, LW, KW, FW, TW, CW, DW, SW, PD, MD, ... ( refer to <Table 1> )

5)  Extra2                   don't care.

 

Write example 1) 

PORT : 0  Station : 0, ADDRESS : 0001, EXTRA1 : DW,  EXTRA2 : 0

The setting parameter shown above is word unit write setting example for 1(2nd) word of D memory.

 

3. Connection of communication cable

Please connect full RS-232C communication cable or normal RS-232C communication cable such as <Figure 2>.

 

<Figure 2> RS-232C communication cable between Cnet connector and PC

 

4. Check point when communication error

1) Check 'MODE' switch status of  CNET communication module. It needs dedicated communication mode( MODE switch ). User define orTest mode can't communicate with MASTER-K CNET driver.

Please set no.1 when K4F-CU2A/4A, other model = no. 3. Refer to User manual of PLC for more information.

2) Please check communication cable. Ladder communication cable don't well communite.

3) Check PLC station number.

4) Please check baud rate, parity bit, data bit, stop bit. Baud rate, parity bit, data bit, stop bit can set by using 'Frame Editor'.

 

5. Connection of Ladder communication cable for K200S

You can communicate with Ladder(RS-232C) connector when K200S A type/K200S C type model.

Please note the difference Ladder cable and communication cable for MASTER-K CNET communication driver.

 

<Figure 3>  Communication cable diagram for K200S model's Ladder connector (K200S A type or K200S C type)

 

Note) Communication for K200S B model (K3P-07BS) CPU use RS-422 mode. ( don't communicate with Ladder connector )

 

6. RS-422 communication cable connection for K200S B type (K3P-07BS) model

K200S B type model can communicate with RS-485(422) connector. ( don't need  dedicated communication module )

Please set PLC station number( 0 ~ 32) and communication mode. The communication mode have to set 'Slave' mode.